﻿using System.Threading;

namespace MethodInvoker
{
    public class Example
    {
        //public void StartTimer(int dueTime)
        //{
        //    Timer t = new Timer(new TimerCallback(TimerProc));
        //    t.Change(dueTime, 0);
        //}

        //private void TimerProc(object state)
        //{
        //    // The state object is the Timer object.
        //    Timer t = (Timer)state;
        //    t.Dispose();
        //}
    }
}